﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Kiiro.SiteDefinition.ControlTemplates
{
    public partial class PrependWebPartZone : KiiroUserControl
    {
        protected void Page_Load ( object sender, EventArgs e )
        {
        }

        protected override void OnPreRender ( EventArgs e )
        {
            base.OnPreRender ( e );

            if ( prependWebPartZone.WebParts.Count > 0 )
            {
                litPrependWrapper.Text = "<div id='wpz' class='body-pad'><div class='body'><div class='wr'><div class='ap'><div class='wpz-content'>";
                litAppendWrapper.Text = "</div></div></div></div></div>";
            }
        }
    }
}

/*************************************************************************
 * 
 * $Log: /Internal Projects/Kiiro/Kiiro.SiteDefinition/12/TEMPLATE/CONTROLTEMPLATES/Kiiro/PrependWebPartZone.ascx.cs $
 * 
 * 2     1/14/10 12:46p Camerons
 * 
 **************************************************************************/